<template>
  <div id="zcbj">
    <!-- tit-s -->
    <div class="tit">
      <h2>政策背景</h2>
      <div class="empty-box"></div>
      <p>高层关注，政策引领，为发展指明方向！</p>
    </div>
    <!-- tit-e -->
    <!-- con-s -->
    <div class="con">
      <!-- text-box -->
      <div class="text-box">
        <div
          class="text-item"
          v-for="item in message"
          :key="item.num"
        >
          <span class="item-tit">
            {{ item.num }}
          </span>
          <span class="item-con">
            {{ item.text }}
          </span>
        </div>
      </div>
      <!-- img-box -->
      <div class="img-box">
        <img src="https://www.1nuoyun.com/uploadfile/2021/09/24/202109241658594UujyZ.png" alt="">
      </div>
    </div>
    <!-- con-e -->
    
  </div>
</template>

<script>
  export default {
    name: "Zcbj",
    data() {
      return {
        message: [
          {
            num: "01",
            text: "建办房【2017】75号《住房城乡建设部办公厅关于做好取消物业服务企业资质核定相关工作的通知》"
          },
          {
            num: "02",
            text: "2020年住房和城乡建设部等部门关于推动物业服务企业加快发展线上线下生活服务的意见"
          },
          {
            num: "03",
            text: "2021年住房和城乡建设部等10部门联合引发《关于加强和改进住宅物业管理工作的通知》"
          },
        ]
      }
    }
  }
</script>

<style lang="scss" scoped>

  @import "assets/scss/public";

  #zcbj {
    width: 62.5%;
    margin: 4rem auto;
    .tit {
      .empty-box {
        background: linear-gradient(90deg, #f5222d, #ff4242);
      }
    };
    .con {
      display: flex;
      justify-content: space-between;
      padding: 4rem;
      box-shadow: 0 0 1rem #f5f5f5;
      .text-box {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        .text-item {
          width: 48rem;
          .item-tit {
            font-size: 3.2rem;
            color: #f5222d;
          };
          .item-con {
            font-size: 2.4rem;
            color: #666;
          }
        }
      }
    };
    .con:hover {
      transition-duration: 0.3s;
      transform: translateY(-0.5rem);
    }
  }

</style>